do you want to use before_save instead of before_create which should capture both create and update?