Update status as integer to use enum from rails 4.1