awesome: update functions.init function