take care of spaces in all params in shifts#update