The entity is in another module and I referenced it in another module. now what I want to know is how can I update the database of that entity from the Module I refereced it. the refereced entity on the other module does not have the createorupdate action. so how can I update that entity from that referenced module.

Your original question was a little ambiguous which is why Justin gave you that reply. You are concerned about how to update the 'data' in the entity, not the entity structure. In the eSapce where the entity is declared, click on the entity in question and in the properties set Expose Read Only to No. Publish this change and then refresh all consumers of that entity as Justin explained. Doing this will add five more actions that will allow you to do all the create, update and delete functions.