update dependency to use with rails 4