added checking for owner_id before updating Entry