Fixed a but where created_by resource attribute was being changed on update