Fixed serialisation of current user in update