added dependency and update hook for the entity api module since we are using entity_view()