update application rb