Update for rails security issue