update package dependencies, define userentity