use user.id for ownAccount property
convert numeric params to integer and fix missing favorite bug in update