split create actions and update actione to two different classes